<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>孕育宝典 - 设置</title>
        <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet" />
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
        <style>
            body {
                font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
                background-color: #f5f5f5;
                color: #333333;
                margin: 0;
                padding: 0;
            }
            .device-container {
                width: 390px;
                height: 844px;
                overflow: hidden;
                position: relative;
                background-color: #f5f5f5;
            }
            .status-bar {
                height: 44px;
                background-color: #ffffff;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0 20px;
                font-size: 14px;
                font-weight: 600;
            }
            .header {
                background-color: #ffffff;
                padding: 10px 16px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                border-bottom: 1px solid #f0f0f0;
            }
            .nav-bar {
                height: 60px;
                background-color: #ffffff;
                position: absolute;
                bottom: 0;
                width: 100%;
                display: flex;
                justify-content: space-around;
                align-items: center;
                border-top: 1px solid #f0f0f0;
            }
            .nav-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                color: #666666;
                font-size: 10px;
            }
            .nav-item.active {
                color: #ff9fb5;
            }
            .main-content {
                height: calc(844px - 44px - 60px - 56px);
                overflow-y: auto;
                padding-bottom: 10px;
            }
            .section-divider {
                height: 8px;
                background-color: #f5f5f5;
            }
            .settings-section {
                background-color: #ffffff;
                padding: 0 16px;
                margin-bottom: 8px;
            }
            .settings-header {
                padding: 12px 0;
                border-bottom: 1px solid #f5f5f5;
            }
            .settings-title {
                font-size: 16px;
                font-weight: 500;
                color: #333;
            }
            .settings-item {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 16px 0;
                border-bottom: 1px solid #f5f5f5;
            }
            .settings-item:last-child {
                border-bottom: none;
            }
            .settings-label {
                display: flex;
                align-items: center;
                font-size: 15px;
                color: #333;
            }
            .settings-label i {
                width: 24px;
                height: 24px;
                margin-right: 10px;
                text-align: center;
                color: #ff9fb5;
            }
            .settings-value {
                font-size: 14px;
                color: #999;
                display: flex;
                align-items: center;
            }
            .settings-value i {
                margin-left: 6px;
                color: #ccc;
            }
            .toggle-switch {
                position: relative;
                display: inline-block;
                width: 42px;
                height: 22px;
            }
            .toggle-switch input {
                opacity: 0;
                width: 0;
                height: 0;
            }
            .slider {
                position: absolute;
                cursor: pointer;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background-color: #ccc;
                transition: 0.4s;
                border-radius: 22px;
            }
            .slider:before {
                position: absolute;
                content: '';
                height: 18px;
                width: 18px;
                left: 2px;
                bottom: 2px;
                background-color: white;
                transition: 0.4s;
                border-radius: 50%;
            }
            input:checked + .slider {
                background-color: #ff9fb5;
            }
            input:checked + .slider:before {
                transform: translateX(20px);
            }
            .icon-bg-blue {
                color: #64b5f6;
            }
            .icon-bg-pink {
                color: #ff9fb5;
            }
            .icon-bg-purple {
                color: #ba68c8;
            }
            .icon-bg-amber {
                color: #ffb74d;
            }
            .icon-bg-green {
                color: #81c784;
            }
            .icon-bg-red {
                color: #e57373;
            }
            .logout-button {
                margin: 20px 16px;
                padding: 12px 0;
                background-color: #fff;
                color: #f44336;
                border-radius: 8px;
                text-align: center;
                font-size: 16px;
                font-weight: 500;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            }
            .app-info {
                text-align: center;
                margin: 20px 0;
                font-size: 12px;
                color: #999;
            }
            .badge {
                display: inline-block;
                background-color: #ff5252;
                color: white;
                font-size: 10px;
                font-weight: 500;
                padding: 2px 6px;
                border-radius: 10px;
                margin-left: 6px;
            }
        </style>
    </head>
    <body>
        <div class="device-container">
            <!-- iOS状态栏 -->
            <div class="status-bar">
                <span>9:41</span>
                <div class="flex items-center">
                    <i class="fas fa-signal mr-1"></i>
                    <i class="fas fa-wifi mr-1"></i>
                    <i class="fas fa-battery-full"></i>
                </div>
            </div>

            <!-- 页面头部 -->
            <div class="header">
                <div class="flex items-center">
                    <i class="fas fa-chevron-left mr-4"></i>
                    <h1 class="text-lg font-medium">设置</h1>
                </div>
            </div>

            <!-- 主内容区 -->
            <div class="main-content">
                <!-- 账户设置 -->
                <div class="settings-section">
                    <div class="settings-header">
                        <div class="settings-title">账户设置</div>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-user"></i>
                            <span>个人信息</span>
                        </div>
                        <div class="settings-value">
                            <span>李小花</span>
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-lock"></i>
                            <span>隐私设置</span>
                        </div>
                        <div class="settings-value">
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-shield-alt"></i>
                            <span>安全设置</span>
                        </div>
                        <div class="settings-value">
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                </div>

                <!-- 通知设置 -->
                <div class="settings-section">
                    <div class="settings-header">
                        <div class="settings-title">通知设置</div>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-bell icon-bg-blue"></i>
                            <span>推送通知</span>
                        </div>
                        <label class="toggle-switch">
                            <input type="checkbox" checked />
                            <span class="slider"></span>
                        </label>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-calendar-alt icon-bg-pink"></i>
                            <span>经期提醒</span>
                        </div>
                        <label class="toggle-switch">
                            <input type="checkbox" checked />
                            <span class="slider"></span>
                        </label>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-thermometer-half icon-bg-purple"></i>
                            <span>基础体温记录提醒</span>
                        </div>
                        <label class="toggle-switch">
                            <input type="checkbox" checked />
                            <span class="slider"></span>
                        </label>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-calendar-check icon-bg-amber"></i>
                            <span>产检提醒</span>
                        </div>
                        <label class="toggle-switch">
                            <input type="checkbox" checked />
                            <span class="slider"></span>
                        </label>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-capsules icon-bg-green"></i>
                            <span>服药提醒</span>
                        </div>
                        <label class="toggle-switch">
                            <input type="checkbox" checked />
                            <span class="slider"></span>
                        </label>
                    </div>
                </div>

                <!-- 系统设置 -->
                <div class="settings-section">
                    <div class="settings-header">
                        <div class="settings-title">系统设置</div>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-globe"></i>
                            <span>语言</span>
                        </div>
                        <div class="settings-value">
                            <span>简体中文</span>
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-moon"></i>
                            <span>夜间模式</span>
                        </div>
                        <label class="toggle-switch">
                            <input type="checkbox" />
                            <span class="slider"></span>
                        </label>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-database"></i>
                            <span>清理缓存</span>
                        </div>
                        <div class="settings-value">
                            <span>23.5MB</span>
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                </div>

                <!-- 关于与支持 -->
                <div class="settings-section">
                    <div class="settings-header">
                        <div class="settings-title">关于与支持</div>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-info-circle"></i>
                            <span>关于孕育宝典</span>
                        </div>
                        <div class="settings-value">
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-question-circle"></i>
                            <span>帮助中心</span>
                        </div>
                        <div class="settings-value">
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-star"></i>
                            <span>给我们评分</span>
                        </div>
                        <div class="settings-value">
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-share-alt"></i>
                            <span>分享应用</span>
                        </div>
                        <div class="settings-value">
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                    <div class="settings-item">
                        <div class="settings-label">
                            <i class="fas fa-sync-alt"></i>
                            <span>检查更新</span>
                        </div>
                        <div class="settings-value">
                            <span class="badge">NEW</span>
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                </div>

                <!-- 退出登录 -->
                <div class="logout-button">退出登录</div>

                <!-- 版本信息 -->
                <div class="app-info">
                    <p>孕育宝典 v1.2.3</p>
                    <p>© 2023 孕育宝典团队 版权所有</p>
                </div>
            </div>

            <!-- 底部导航栏 -->
            <div class="nav-bar">
                <div class="nav-item">
                    <i class="fas fa-home text-xl mb-1"></i>
                    <span>首页</span>
                </div>
                <div class="nav-item">
                    <i class="fas fa-notes-medical text-xl mb-1"></i>
                    <span>记录</span>
                </div>
                <div class="nav-item">
                    <i class="fas fa-book-medical text-xl mb-1"></i>
                    <span>知识库</span>
                </div>
                <div class="nav-item">
                    <i class="fas fa-user-friends text-xl mb-1"></i>
                    <span>伴侣空间</span>
                </div>
                <div class="nav-item active">
                    <i class="fas fa-user text-xl mb-1"></i>
                    <span>我的</span>
                </div>
            </div>
        </div>
    </body>
</html>
